import React, {Component} from 'react';
import {
    AppRegistry,
    StyleSheet,
    Text,
    View,
    Navigator
} from 'react-native';
import App from './Component/App';
import First from './Component/First';
// export default class CalljiuMark extends Component {
//     render() {
//         let defaultName = 'First';
//         let defaultComponent = First;
//         return (
//
//             <Navigator
//                 initialRoute={{name:defaultName,component:defaultComponent}}
//                 configureScene={(route)=>{
//                         return Navigator.SceneConfigs.PushFromRight;}
//                     }
//                 renderScene={(route,navigator)=>{
//                         let Component = route.component;
//                         if(route.component){
//                             return <Component  {...route.params} navigator={navigator}/>
//                         }
//                     }}
//             />
//         );
//     }
// }

AppRegistry.registerComponent('CalljiuMark', () => App);
